input_text = "This это Текст написанный с консоли"
input_text += " "
count_words = 0
count_def = 0
i = 0
word_now = " "
while i < len(input_text):
    if input_text[i] == "-":
        count_def += 1
    if input_text[i] == " ":
        count_words += 1
        print (word_now)
        word_now = ""
    else:
        word_now += input_text[i]
    i += 1
print(word_now)

count_bigSymb = 0
i = 0
is_having_big_symbol = False

while i < len(input_text):
    if ord(input_text[i]) in range(ord('A'), ord('Z') + 1):
        is_having_big_symbol = True
    if is_having_big_symbol==True:
        count_bigSymb += 1
        i += 1

print(is_having_big_symbol, count_bigSymb)
